package com.neusoft.hifly.push.sms.aliyun.service;

import com.aliyuncs.dysmsapi.model.v20170525.QuerySendDetailsResponse;
import com.aliyuncs.dysmsapi.model.v20170525.SendSmsResponse;
import com.aliyuncs.exceptions.ClientException;

import com.neusoft.hifly.push.sms.aliyun.pojo.SendDetailVO;

/**
 * 阿里大于短信发送
 */
public interface IAliSmsSendService {
	/**
	 * 发送短信
	 *
	 * @param vo
	 *            短信实体
	 * @return 返回值
	 * @throws ClientException
	 *             异常
	 */
	SendSmsResponse sendSms(SendDetailVO vo) throws ClientException;

	/**
	 * 查询明细
	 *
	 * @param vo
	 *            短信实体
	 * @param bizId
	 *            发送流水号,从调用发送接口返回值中获取
	 * @return 明细
	 * @throws ClientException
	 *             异常
	 */
	QuerySendDetailsResponse querySendDetails(SendDetailVO vo, String bizId) throws ClientException;

}
